package com.bwda.dsrs.filecenter.domain.form.dbgroup;

import javax.validation.constraints.NotNull;
import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "数据库组表")
public class DbGroupUpdateForm {

	@ApiModelProperty(value = "ID", required = true)
	@NotNull(message = "ID不能为空")
	private Integer id;

	@ApiModelProperty(value = "组名称")
	private String groupName;

	@ApiModelProperty(value = "管理员编码")
	private String adminUserCode;

	@ApiModelProperty(value = "状态:0:启用 1:停用")
	private Integer status;

	@ApiModelProperty(value = "创建人")
	private String createUserCode;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "更新人")
	private String updateUserCode;

	@ApiModelProperty(value = "更新时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date updateTime;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "是否删除 0未删除 1已删除")
	private Integer delFlag;

	@ApiModelProperty(value = "数据库成员列表id")
	private List<Integer> dbIds;
}